#!/usr/bin/env python
# -*- codeing: utf-8 -*-
# @Time : 2021-07-08 19:34
# @Author : Wu Yizhang
# @Site ：www.rich-f.com
# @File: urls.py
# @Software: PyCharm
# @Function: 
# @python：3.6.8

from django.urls import re_path
from . import views
urlpatterns = [
    # 获取省
    re_path(r'^areas/$', views.ProvinceAreasView.as_view()),
    # 获取市和区
    re_path(r'^areas/(?P<pk>[1-9]\d+)/$', views.SubAreasView.as_view()),

]

